/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.ac.iie.di.tools;

/**
 *
 * @author zhangyun
 */
public class StringTools {

    public synchronized static String replaceAll(String responseXml, String subjobid, String code, String message) {
        responseXml = responseXml.replaceAll("###SUBJOBID###", subjobid);
        responseXml = responseXml.replaceAll("###CODE###", code);
        responseXml = responseXml.replaceAll("###MESSAGE###", message);
        return responseXml;
    }
}
